package org.itboys.admin.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

import java.util.List;

/**
 * Created by Administrator on 2016/8/2.
 */
@Entity(value = "PostFeeDB", noClassnameStored = true)
public class PostFeeDB  extends BaseLongIdEntity {

    private String name;

    @Indexed
    private long goodsSourceId;

    private Integer provinceId;//省

    private Integer districtId;//地区

    private Integer cityId;//市 县 区

    private int firstWeight; //首重，克

    private int firstFee; //基准邮费，分

    private int additionalWeight; //续重，克

    private int additionalFee; //续重邮费

    private List<Long> logisCompanyList; //快递公司

    private String remark;  //备注

    private Integer isDeleted = 0;//逻辑删除标记 0有效 1删除

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getGoodsSourceId() {
        return goodsSourceId;
    }

    public void setGoodsSourceId(long goodsSourceId) {
        this.goodsSourceId = goodsSourceId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public int getFirstWeight() {
        return firstWeight;
    }

    public void setFirstWeight(int firstWeight) {
        this.firstWeight = firstWeight;
    }

    public int getFirstFee() {
        return firstFee;
    }

    public void setFirstFee(int firstFee) {
        this.firstFee = firstFee;
    }

    public int getAdditionalWeight() {
        return additionalWeight;
    }

    public void setAdditionalWeight(int additionalWeight) {
        this.additionalWeight = additionalWeight;
    }

    public int getAdditionalFee() {
        return additionalFee;
    }

    public void setAdditionalFee(int additionalFee) {
        this.additionalFee = additionalFee;
    }

    public List<Long> getLogisCompanyList() {
        return logisCompanyList;
    }

    public void setLogisCompanyList(List<Long> logisCompanyList) {
        this.logisCompanyList = logisCompanyList;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
